<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"/>
<link rel="stylesheet" type="text/css" href="css/register2.css" />
<link rel="stylesheet" type="text/css" href="css/base_1.css" />
<title><s:text name="_UserRegister"/></title>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<style type="text/css">
<!--



-->
</style>
</head>
<body >
  	<div id="u">
        <a class="logo" href="">
    		<img src="images/LogoMaker_1.jpg" height="35" />
   		 </a>
    </div>
    <p id="lm"></p>
    <div id="m">
    <div id="fm">
    
    <div class="input_form">
    	<s:form action="register" namespace="/user" method="post" theme="simple">
        	<div id="title"><s:text name="_UserRegister"/></div>
        	<s:if test="isActive == 'false'">
        		<span style="color:red"><s:text name="_AuthFailed"/></span>
        	</s:if>
       		<table width="100%" border="0" cellpadding="4" align="center" >
            	<tr >
		  			<td width="30%" rowspan="2" nowrap="nowrap" class="kw" style="text-align: right">		    
                    	<label for="username"><strong><s:text name="_UserName"/></strong><span class="STYLE1">*</span></label>	        
                    </td>
		  			<td width="15%"colspan="2" class="TitleColor">
		    			<s:textfield name="userinfo.username"  size="20" />
		    <s:fielderror><s:param>username.error</s:param> </s:fielderror>				
                    </td>
		 			<td colspan="2" class="TitleColor STYLE3"><s:text name="_Register.username.info"/></td>
				</tr>  
            </table>
            <table width="100%" border="0" cellpadding="4" align="center" >
            	<tr>
		  			<td width="30%" rowspan="2" nowrap="nowrap" class="kw" style="text-align: right">		    
                    	<label for="username"><strong><s:text name="_PassWord"/></strong><span class="STYLE1">*</span></label>	        
                    </td>
		  			<td width="15% colspan="2" class="TitleColor">
		    			<s:password name="userinfo.password" size="20" /> 
		  	<s:fielderror> <s:param>password.error</s:param></s:fielderror>			
                    </td>
		 			<td colspan="2" class="TitleColor STYLE3"><s:text name="_Register.password.info"/></td>
				</tr>  
            </table>
    		<table width="100%" border="0" cellpadding="4" align="center" >
            	<tr>
		  			<td width="30%" rowspan="2" nowrap="nowrap" class="kw" style="text-align: right">		    
                    	<label for="confirmPassword"><strong><s:text name="_Confirm"/><s:text name="_PassWord"/></strong><span class="STYLE1">*</span></label>	        
                    </td>
		  			<td width="15% colspan="2" class="TitleColor">
		    			<s:password name="confirmPassword"  size="20" />
			<s:fielderror><s:param>confirmPassword.error</s:param> </s:fielderror>				
                    </td>
		 			<td colspan="2" class="TitleColor STYLE3"><s:text name="_Register.confirm.info"/> </td>
				</tr>  
            </table>  
    		<table width="100%" border="0" cellpadding="4" align="center" >
            	<tr>
		  			<td width="30%" rowspan="2" nowrap="nowrap" class="kw" style="text-align: right">		    
                    	<label for="username"><strong>EMail</strong><span class="STYLE1">*</span></label>	        
                    </td>
		  			<td width="15% colspan="2" class="TitleColor">
		    			<s:textfield name="userinfo.email" size="30" />
		    <s:fielderror><s:param>email.error</s:param> </s:fielderror>			
                    </td>
		 			<td colspan="2" class="TitleColor STYLE3"><s:text name="_Register.email.info"/> </td>
				</tr>  
            </table>
       		<table width="100%" border="0" >
              <tr>
              <td width="40%" rowspan="2" nowrap="nowrap" class="kw" style="text-align: right">
                  <s:checkbox name="issue"  />
              </td>
             <td width="60%" rowspan="2" nowrap="nowrap" class="kw" style="text-align: left">
                  <a href="#" title="条款" target="_blank" id="clause"><s:text name="_Register.Agree"/></a></label>
              </td>
            </table>
            <table width="100%" border="0">
            <tr style="vertical-align: top" text-align: middle class="FooterColor" >
		  		<td align="center" >
		  		<button type="submit"><s:text name="_prsubmit"/></button>
                	
                 </td>
			</tr>
            </table>
		</s:form>
		</div>
    </div>
    <p id="lm"></p>
    <div>
    	<p id="cp">
    		@2011 G Search
       	 	<a href="">使用前必读</a>
        	<a href="" target="_blank">京ICP证030173号</a>
    	</p>
    </div>
    </div>
</body>
</html>
